|
|
<DIV id=list>
* Y) W2 [' _: J. f# K# W<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>8 w% U- U4 |" P) S* I* F
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>9 w% A1 @, ~* U4 G/ W5 q" K
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
4 M; }# f: ~; J/ |! h0 [<DIV id=lrc3 style="COLOR: #666666"></DIV>
N1 ~# D! D8 O4 J6 {" Z. h<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
9 ~: o* r# r0 a3 y3 Y<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>4 W' s# k7 _4 r' |5 ]6 T
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>' `; u# ?8 C( N7 Q: S: F b6 W
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
~& G1 T* e/ m4 Z& h/ a2 v<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>" I# _" `$ \) ]$ W7 o) f$ H
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
$ n$ a/ s7 w( l D! d8 z6 G- Z<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
: @( m2 f3 i& G% H& P! E<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>7 F+ B* J# R; p: G
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>5 ^. Z5 r* D" N" a7 f; X$ F- b, O
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
/ ]3 V) E' C3 w% @# Z<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
0 ?% D% \# @6 n* R4 n+ Z. y& Q<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
" f+ W! X) _$ e+ w8 C: y2 x4 A<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
3 a( d1 s2 F1 O: D<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>9 h" G% ? `4 k5 y9 _7 S/ j
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>, }- n# _* D: v, {7 x
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>$ N4 m9 H2 O6 A- ~: h
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
R2 \' G1 J7 N<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
R$ g9 h5 z# w3 A" u<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
+ g3 J/ O' F: S9 @* \; b# w<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
6 m) u- ?) w! O, @, r3 ^<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>: o# e( [8 u$ _0 R; n
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
( D) U9 I" z0 M& Z! ^1 q<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
8 e4 A$ D {5 i+ J<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>/ i. |& d; Q; \5 z1 a. b7 G
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
6 K8 b1 a5 ?+ p2 G$ |9 m6 j u<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>; g7 a9 M( b/ ^2 f% O. ?
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
5 h$ o( P9 f5 C/ r) `; l! E q<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
- K7 d! g$ S U, R' e<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>% n# E$ [7 I% D/ }9 |: Y/ Y
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>( F8 f/ q E7 W; P2 M2 e, ~
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>7 `$ p6 I8 U2 ]: |
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>$ [2 ~- A) p! G4 c& }
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
. T2 |8 b& X$ h' ^<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
8 k, e: h8 H5 t, r# K6 Z9 O<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>% _* S6 K7 h3 h' A
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>* S+ k4 j' n2 n
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
, V" c3 e! I5 H<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>$ C E3 v) R, Z: N2 o
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
3 W3 i# x) M0 r) {" {2 _" c5 U<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
, O* b3 [' C- O# q E: }<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>) \- }. ~8 T1 @
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>+ ~. B, z K! o; n. D% t6 y3 K; X; S2 ?8 _
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV># t8 j2 A; K0 F B
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
4 E2 ~" c. @0 t6 W! V J' R<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>3 }; k9 t0 O. R- ?1 ~1 |0 P
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
! H# |* Z0 \$ ?( E7 ^( k% v- P<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>( j; [) B, P& ?. I! c8 m% P
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>1 x$ D( r B2 T/ F* t( @
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>% W; r! Z2 N) U
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
$ [# N: i" d1 r) w2 Z0 \1 [<DIV id=lrc style="DISPLAY: none"></DIV>' X0 Q$ g, T' M9 c+ z
<SCRIPT type=text/javascript>1 E+ Q: H; g% |
document.domain="1ting.com";
$ B6 J2 ^1 G' wvar colorPasted="#666666";. `0 J4 r, e/ O( {
var colorPlaying="#ff3300";
# V( D& w, a' ^8 L/ o$ L+ D# O6 @2 J$ Avar colorNormal="#000000";
! Y" L1 |/ Q0 Y- i# h$ = function (a,g){
& I g9 s2 h$ p7 ]7 c7 u" a var o = new Array();
, e6 S F' R7 n7 }+ u% t" F var c = new Array();
4 U2 Q, }& ^0 h& ? var r; ' Q4 x5 r' B& U" k9 `; p3 S
var u; ! @2 J! u# N) s# ?
var a = a.split(';');
% {% Y# t$ @4 l4 S( R' _6 g
6 H5 m' q& M( B) W: ]' F* V# C var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
$ D" e6 i/ g- a% X B( M2 f- a for(var i=0;i<e.length;i++){- O& \* D! |/ R: [% q5 H h
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
% j: V) i4 M7 V }
7 B; s6 d l' g! t1 t- C) e; ]' T: P$ q
after = function (t,d,s){
: R( R) v4 ]) V. H) S $after = function (){/ m: x9 Y7 G2 A9 e
var $n=document.createElement(t);
3 f) h, ]1 e [ if(d!=null){
& [' ?" _4 i+ g2 E- R' g$ M $n.id=d;
8 }7 Q9 r/ A: T8 k5 D$ I4 { }
8 [5 y5 s0 ~# U- e8 I0 H C
2 k N& Q" X- I$ g2 B% i: { u.insertBefore($n,null)
4 g& W, I1 l- F# F4 r/ e9 Q r = $n; $ Y# [, Q1 Z, m6 {/ H% r. o
u = $n; . X/ ]3 y' T/ O7 Z
}
5 f2 S$ W. E! V$ |: L/ H' ~ $for(s,"$after")
/ U. A& a) w. \# Y- o8 d6 g }
( i- W' f0 e' A! p3 S2 g; d+ I' G; w5 ~7 {9 q5 m4 e
show = function (s){3 j' ]/ @6 N& [: r$ E7 y
$show = function (){
, {# S9 v1 o( l4 y) C0 u) T9 D9 T9 [! S u.style.display!="none" ? style("display:none") : style("display:block") ;6 k3 X& ?* Q. @% G# u0 G$ `
}1 T- x: w/ W7 s5 w
$for(s,"$show")
4 E( e, S/ a2 d7 C x9 a4 B9 y( q }
2 A% L% R' j9 F* i Z" r" G+ J8 b0 r: r% I6 y
check = function (t,s){! O- _- C2 R X( m+ \7 M4 X
$check = function (){
, Q3 O. W# w: k* Z- Q if(t=="2"){
$ `$ p7 M' |- @% F# d! q7 I: k if(u.checked){: h% @, A% _0 s, o
u.checked = false;2 I2 j+ h6 l. Y
}else{
{* w& V* J) |/ g1 X9 a% @ u.checked = true;
7 y# V: T4 O$ Y4 F& P$ P }9 k. q+ A1 N( Q: _) f2 _) e& m# b. |2 f
}else{( f4 X _5 t. a3 c& ~5 N. l
u.checked = t*1 ;
( v( T \7 X* u% h% M% z4 X4 } }
7 `5 M& F4 M. g" M' V }4 q3 S! M3 R8 K& h( {
$for(s,"$check")) S6 {( M/ Z1 [: g ~
}6 ~/ q- U& m5 X" b c I& Q
9 c! q0 ]8 O G style = function (v,s){! l, n9 w$ E5 A: A$ i/ |
$style = function (){7 `. d9 D8 |6 |, m9 x* s) F
var $n = v.split(",")
1 n0 V# i6 Z d1 n for (var i=0;i<$n.length;i++ ){
0 o2 v+ m4 H0 e, m+ ~! O var $m = $n<i>.split(":") ' ]& G+ y; _1 `+ p9 w8 ~" s5 C
eval("u.style."+$m[0]+"='"+$m[1]+"'");
7 q0 x2 _0 e- \ }
8 k9 T1 X/ [* m, u) Q1 F0 x6 F }. [$ o+ H7 b8 `! F( U- \
$for(s,"$style") v6 P0 ~0 F. N+ k5 M, I
}
5 Z, W5 X9 N7 i6 r
6 O# k1 U' E0 q/ e/ l9 b value = function (v,s){, ~. _7 K7 E' `* L3 o. n
var $n= $this (v);$ m$ e X) o9 L W
$value = function (){% [- f7 z! w7 E: I
u.value = $n0 m* [! [$ L4 v( E6 }0 U$ B/ L7 G/ g7 s! @
}
( k9 Y, N/ |) N+ M, I $for(s,"$value")
6 m. A% {- C8 _& l9 ` }
& A8 h* n9 q) v& ^. f) Z
- z8 f0 f, |8 Y& U, h' A5 ^5 G text = function (v,s){
- o3 ?5 W3 z- H8 v G+ k var $n= $this (v);
" d- @6 N2 }4 `) M+ c- K $text = function (){. `1 f. Q7 y$ K
0 ]4 j7 l+ O" h' t0 ?( z% y0 @ u.text = $n5 j: ?& Y( H( A6 X) {) n# H' J7 Z
}; q: X/ o" @: g7 X( Y
$for(s,"$text")
7 B+ d+ _( k Y8 o6 ]' |( n }
]( S0 r- S4 s$ j5 b0 E8 X. b( A& c% Q3 b% T
innerhtml = function (v,s){
; F* |* g& x% g" o! p x. | var $n= $this (v);
: C1 X* a; `/ x# E1 O9 ^ $innerhtml = function (){5 G% a1 ^7 L. |9 n& q" o* g
u.innerHTML = $n! W3 t, f; ^% M7 k
}
- P: Y. G4 x% V" r6 M $for(s,"$innerhtml")
; w! `) H5 k5 x, g6 x; l8 l, w, I9 H }/ b. S2 g* e9 c
7 l6 N( l0 z! p4 t' d- f7 x
removechild = function (s){$ ^( m; ~2 S+ t. w6 c5 A
$removechild = function (){
1 S( w% N) ~% N Y" H u.parentNode.removeChild(u)$ N, C: z9 X* C( W
}
/ e" d4 N/ b0 G" b9 ] $for(s,"$removechild")6 @6 X0 H! K9 O: a# l# ^8 H
}7 L. K! R" A6 E4 P; |: G
. i1 m! |0 c: C; u( M5 R
$this =function(v){7 I' L" w$ N$ H* @, r+ H+ U8 i
if(v.indexOf("this") == 0){
; c7 G( Y3 a4 u4 i return eval(v.replace("this","u"))
6 Q0 q/ S& M) N' H9 z, ^# Y7 b }: p8 Z( ^- H& V J3 q! q4 Y
return v;
% t/ S8 C6 f5 S8 @6 C6 U3 F( @ }
% g J7 c3 c+ Z {4 j6 o0 X$ U/ z! \" `" p! a. ~
$event = function (s){
# U$ k# F/ W3 P, i0 `7 z' | var $n ="u."+s+" = function(){$work(this,s);}"
) A0 O" T' q8 j" Z return $n;/ o- m: p$ @6 O0 p
}5 C( h- Z; A2 [/ o& N
7 ~& K" f% l6 p' h1 h $replace = function (s){
0 W2 c& N0 g! N& j1 |9 O1 W0 H. R( Z5 x; g3 z) v9 ?
}
% z f u. t3 V; O% T" Y4 i6 D- T4 R
$for = function (s,c){
; r( d$ ]* p$ x5 R3 K) T var $n="this."+c+"()" ;; R8 r, g- P* t' ] K" j
if(s!=null){! N7 e% S5 f( k! p R7 L0 a
var $m =$test(s);
V& Z& m O- V, P+ z+ N1 r for (var i=0;i<$m.length ;i++ ){
# f) E- y; a" g4 n8 m. b2 r9 c u = $m<i>;* q$ s$ ]' X* f C
eval($n);, n# {9 X" y8 @( w
}2 ?* i# w# y! T- Y! _2 q* ]0 X
}5 _$ A3 {- h9 D9 j" ?. w
else{% l2 W' y& ?- Y2 o5 I
eval($n);
9 O2 D! X% }7 ], _( v$ i }' N) ?) l# w# g+ d+ R
}8 _8 B+ F9 ^3 q j. s8 ]/ q. e
- r7 k6 f8 V+ {
$test = function (a){: }" J9 ~ q0 _
var o = new Array();$o(a.split(';'),o);
( V0 g' p2 N, k) n return o;
4 Y2 C& I3 b: i% E6 ?$ } }
+ L, G$ g. Q5 E4 v2 E, u! m8 t5 ]' q& g5 q1 {
$format = function(s){" D9 A/ |0 p N7 q
while (s.indexOf("'")>0){$ ?- O. Z2 w+ y# x6 O
s=s.replace("'","\"");! d. U) A7 J! A, ?( o
}9 x4 B( r0 X1 w1 b- L; W
while (s.indexOf("][")>0){( O# }/ N( k t4 x8 |3 z0 {5 V
s=s.replace("][","','")
3 T* D0 j% T6 r4 c5 l }
; o/ j$ @) T& c while (s.indexOf("[")>0){
7 }7 a8 T! J; [7 W s=s.replace("[","'").replace("]","'")
3 S- e8 N3 s, A0 O } & L8 M1 t3 y) ^2 s, ]5 L9 |& t
return s;
0 i1 B8 ` ?. r& ~ X% ~. J }/ w7 N6 l+ A2 H$ z2 C
8 f @( F* X3 j, R# ?& c0 z7 ? $work = function(w,s){/ b; T) x( ~8 ^* ]4 k8 j% t/ s
u=w;eval(s)( C: e2 V6 W2 D
}" z3 [# C6 D h2 E$ t
1 I! ^3 q$ J; S: M5 o% ^ $id = function (s){
" U; f0 e1 {1 O. L+ Z+ v return document.getElementById(s);7 T( U. b! L. [" R$ m ^
}. F9 u, I4 E# Y9 g) p% ?
) w2 N& C i4 n3 z3 [' f' Z7 t
$name = function (s){& B$ D/ ]3 _9 g1 B; P8 |/ d
return document.getElementsByName(s);# m/ }, ]/ _" L; Q4 B1 t
}+ x) s- U0 ?6 W. T+ S
7 @4 {; G+ |7 I+ ]0 U3 h
$tagname = function (s){# A: i4 G- r% r, `
return document.getElementsByTagName(s);
T7 C2 q% U( Y; J4 K( @1 [ }. U5 `, U: c+ B3 I: T( Z
2 {0 k. s4 r9 V; O7 Q) ?7 L& d8 ?7 X $o = function (a,o,c){9 p: Q; |6 Z4 r) h# t! P9 y
$push = function (n) {
$ [' d* k2 @2 V3 |% y2 K# h for (var i=0;i< n.length;i++ ){" K a$ h" _0 J
o.push(n<i>);
' N3 `8 Y7 Q9 V) _8 D. A }
% z" s1 \1 v' {5 O; @. O( a }5 P" E" ~1 }' x, l4 d! M: x4 e- b
for(var i=0;i<a.length;i++){
1 k( V7 R7 A2 J( \# V6 [8 j2 g7 V if(a<i>.indexOf("(") >= 0){1 C6 N5 q; @7 l: [ L1 k! U' Y. z
c.push(a<i>);
& D0 q" [; V, A6 z. G w0 ` }
# Q5 s" @8 w% V# C if(a<i>.indexOf("~") > 0){) U R# `- ?4 h# Q! W6 \; g9 ]$ {
try {$ D: u9 J8 l. \5 J/ {: N; S2 I# G
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
. O3 I) k( g+ h2 H# Z) Y }catch(e)1 ~; L. T! R: V' H& u3 W: p$ i" Y
{}
u B+ }% s4 G" S: d } s+ `* Z4 X9 B5 H2 v) h" w! }
else{, S4 n# |) p& i& f3 K
if(a<i>.indexOf("#")==0){
8 t/ D% D* R/ r7 {7 s0 i o.push($id(a<i>.replace("#","")));
1 y) H0 Z, [9 n }8 b m# x/ }. t. e- t
if(a<i>.indexOf(".")==0){
2 }! b) L& H* l. v; X* d& x $push($name(a<i>.replace(".","")));
, c) ~% J. z8 c" k }, C2 R8 O0 i' L, ~' G# x4 Q. w
if(a<i>.indexOf("@")==0 ){. d3 h6 M- i# S( H( W
$push($tagname(a<i>.replace("@","")));
8 A: n6 g. i% B- c8 ~& V }- c+ N& z! U% ?5 L7 o! h
if(a<i>.indexOf("*")==0){
3 U) K% `1 f: _ $p= a<i>;# x1 K5 z% S" ~, I' T1 a
if($p.indexOf(".")< 0){
2 z; p% L5 Q9 z) ?1 u$ W $p = $p.replace("parent","parentNode")
& e' d4 J; K9 |3 W6 X7 V }2 Y& E- `6 b8 Y
var $p ="u."+$p.replace("*","");
$ J! U4 g0 }' w6 y6 j1 W+ [4 ^ while ($p.indexOf("parent.")> 0){0 ?$ b4 U. a" T4 l& N/ B; A
$p = $p.replace("parent.","parentNode.")
h: s/ h* t" O! H) m3 [8 Q0 c }
. g* d) B2 F' D* l C" z while ($p.indexOf("child{")> 0){, M8 s9 i9 M1 Y
$p = $p.replace("child{","childNodes[").replace("}","]")
P5 ^- a$ c% P& H5 w5 c0 g' N: E }
; g% L F* d) C o.push(eval($p));
9 d" C* V" `9 a* X0 T/ ^ }
P% B6 \8 [% E' ?) p+ X if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){, U; G/ z, I$ J
o.push(eval(a<i>));
" Q( h$ t3 W; p9 u I0 K }7 [0 X& D; e4 d# l
}
" E$ m6 B9 Q0 u if(g!=null){ 7 c9 p; r0 h) j- S' W3 f* a [
o.push(g);g=null
7 O( U* ^6 K$ n) q" d" [ C7 S } : L+ @: J5 T/ x) N% r
}
: o! V" ?: m# I) P8 L+ w; q6 _ }
: \; x: ^4 k6 ^" S6 |+ f
% a# t4 R, ?, h3 i& G" l- t: z! T $o(a,o,c);
# w: W* o* d$ _* i
1 d5 p2 @5 s6 ] for(var i = 0;i<o.length;i++){
" N8 M6 M' n# @7 p6 j for(var j=0;j<c.length;j++){
0 `8 \: M8 U8 `1 @4 n u = o<i>;eval($format(c[j]));. }9 T1 p& o2 c
}
( a# |+ B e9 g5 y8 r' j5 C# ~ }
0 H. b# j7 M$ Y4 E! f
* F5 @4 Z: Y4 J2 L if(o.length == 0){
# |; s% w) C+ L1 S; I2 Q for(var i=0;i<c.length;i++){
2 M$ D5 z" n7 ~# P0 T4 h) |3 n eval($format(c<i>));- T% M/ T, a% |0 P
}/ w# q1 B, \' {6 f
}
. o9 {5 [ J9 t; n& l 5 B& ?# v) i- v$ }
if(r!=null){/ ~% t& ~' Z: y8 Z. h3 P
return r;
, e& M8 M- j: i5 n7 x }: \7 v* S' p4 i. p
$ Y: e; [2 r1 u( r& i if(o.length==1){
5 F( e2 W3 Y: X return o[0];3 C% l4 o9 E/ m! s
}& }0 X( [# F7 O
else{1 Y* {* P- x8 ~! Y: k! F3 E
return o
7 U& U( B/ a' B% {1 J } 7 h& N# w3 t* ?2 M6 s4 m% c5 [
% t- u/ F! e, y
}3 L2 R0 U( p: Y/ q9 Q% J1 G: z
var lrc =$("#lrc;show()").innerHTML.split("[");
, `& [0 J( A( i1 aif(lrc.length>5){
; A, ?# y6 a0 d8 D8 f4 I0 x1 ~var array = new Array();
3 e8 Y5 s, V7 V+ X' Kfor (var i=0;i<lrc.length ;i++ )
* q% |7 O( N- |2 F1 G{
7 i/ g' w* e) k4 v" L. | var g = new Object();
0 k/ v# k$ [7 k, y) Z$ V) ? t= lrc<i>.split("]");8 T3 T: b9 w, f5 ~4 d
g.time = getTime(t[0]);+ N- [- [& y A8 m1 t& [6 v
if(isNaN(g.time))6 M+ z6 I8 G+ o5 c) `* o
continue;
7 ~+ R( N' H& k7 c, t g.c = t[1];
2 z, B) a9 V- Z if(g.c == "")
) q! ~3 }$ B+ L: y; x/ o g.c = getNext(i);
6 L [1 T* a1 h6 w array.push(g);& i) d y' ]* K" _
}& j4 y7 @$ t1 o L. r% O' P9 } M
array.sort(function(x, y) {+ E0 k( |6 m9 M; Y
if (x.time>y.time) 2 \$ G4 l0 {6 V
return 1;
/ I# ] G. W3 ]8 W. w& n else if(x.time<y.time)
1 D9 p& [- T! M- t: M# z- e3 U return -1;# g% v- [; v ~& k0 J
else9 g6 f% ]+ J5 x% M
return 0;6 ]3 [" D" X/ i' Z6 f& {9 q6 `8 a( ?
}
- t; x# c8 g6 Y( \1 l3 L4 U5 C! ~);
* W5 N7 S$ p+ P5 U8 @for(var i = 0;i<array.length;i++)5 p7 l- L% ~4 H
{
5 o2 i4 f8 ?( z: h var g = array<i>;
% a. x/ y$ _1 z/ F4 \ if(!g.c){) T9 J* `/ Q' t; a+ @* C) z
g.c="";
/ K% L* g; J; {; ]& _2 M }3 A; y6 M5 f4 N+ S, l7 [. \& L
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
3 ]; r) ?7 }* [( s$ A; Y+ T}0 c4 w5 y7 ? u3 o7 W* V/ d
var time = setInterval("lrcList()",500); ; m" `9 w! D e! `: \2 R2 t4 P
}else{
. \3 P5 D. j8 o- D& _9 L7 N $("#list").innerHTML=$("#lrc").innerHTML;. k1 U3 R4 o& R3 k/ A( _
}% `( w) y+ V/ f
function getNext(i)
3 q2 _* A+ q$ F3 q{7 |5 A1 q; ?1 I, o- p* L
var result = "";
8 |# r U! g9 n var i = i+1;
8 Q; f5 `; ?2 }4 H, Y! t+ K | A8 k t = lrc<i>.split("]");9 v' o& G* C+ s% L: D% E! O t* z
if(t[1]=="")8 U! e% p2 R9 x$ \, ~
result = getNext(i);
$ I, W( K6 h% S: @" ? else
" q6 W2 M9 D% C result = t[1]
8 F, f! K' }+ m, q return result;3 G- N# P2 E. d, x' \
}
& ]2 ~5 }3 ^5 v
8 ~+ d2 H# B, B8 m0 ofunction getTime(str)
/ I/ O" z; E, B- }& \{
y: y/ c6 ?# u. v9 q2 } var time =0;
% g l+ z; Y2 X. h4 o var ta = str.split(":");( ~/ u( z& s& m1 W7 Y
if(ta.length<2)# b: b: Z, E2 j9 X) ^ D
return time;
* ^, n/ n3 g) `0 n* t X3 I6 g( o. u' s$ F9 j- ?' \, R! S
if(ta[1].indexOf(".")>0){) H6 O4 J$ F! }. V2 O( O
var tb = ta[1].split(".");
0 \0 C9 |& n a) {. P time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
5 e+ L1 V; j8 c# A( q }
8 ?+ A9 h g2 O' N( j else# Z L# ^( Y1 A2 q+ c7 H* r
time =ta[0]*60*1000+ta[1]*1000;) X$ y! r! X, _4 ?, N
return time;
$ A: h* A3 S3 a}
: d7 b+ I$ f. a: uvar preTime = 0;6 I9 Y- V$ p O+ t! w
var nextTime = 0;* _- e! R |) W3 Y, B! j
var currIndex =0;
' e" `; H+ c1 a0 B) pfunction lrcList(){
" L$ h. ]! f2 n0 U" d3 |+ W var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
8 ]# P* b+ Y% @" v3 _ [ s = s*1000;
/ W7 X/ l) T' W* J- k if(s==0){
" p$ e' m# c* ^% k( J9 t0 X5 R currIndex =0;
% ^# [: [3 W, l& F' \8 l3 O $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
4 @& B5 d- c( d2 E( L for(var i=0;i<array.length;i++){, G" x& a, I# y. h1 s. |5 N- X
document.getElementById("lrc"+i).style.color=colorNormal;
. \6 O& F9 r6 r$ p8 {; S, X }
0 i; b) }( Y1 c7 D( C5 e+ c return;
$ a2 m# x- N# ^ }) f" O, c: Q3 Z: @( @( p+ I8 f
if(s>0&&currIndex<array.length-1)
9 S8 F. a c1 G f5 K {
# x! g, ^* O- [ preTime = array[currIndex].time;
- s N& W% C% r- a* k 6 k% ~* `* y1 X
nextTime = array[currIndex+1].time;
e6 {1 n# X ~* Y, X3 i4 w 5 O+ E0 k7 @0 x0 y2 \4 I u; y+ {
if(s>=preTime&&s<nextTime){& R& j+ T" T, ^7 Y0 c
}2 K* a6 {2 k9 _ g+ J5 S
else if(s>=nextTime)6 ~, l' U* R2 k; T7 r |. r
{
+ V+ }8 K' j0 [& v% x- m: I6 l8 `5 ] document.getElementById("lrc"+currIndex).style.color=colorPasted;. F% S8 C- a3 a$ O$ h
currIndex++;
0 N7 Y8 y* ?! a1 ~8 h2 [( B6 i- Q $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;, ?5 C2 d3 q% G$ A, X
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
" O7 n3 W0 K' X) O" {7 a$ @ lrcList();7 X" }: ]" ~' @) W" p# p, ]( o! I
}5 J% t+ | k5 s0 N
else{
% o" H M( E6 x% _! A4 o document.getElementById("lrc"+currIndex).style.color=colorNormal;+ L3 I* A# D. k) T- S
currIndex--;, e7 X1 o$ S7 W, B0 D
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
$ A0 ?7 U! q0 P* C5 P document.getElementById("lrc"+currIndex).style.color=colorPlaying;6 E- h+ v. i& b5 q4 {: o" g
lrcList();
0 ?+ q- d& N8 I7 p9 J8 f }
+ r8 N9 B& Y: Q }
+ n$ j5 C' ^: @/ k# E' ]5 f" a+ [3 g else; }- ]9 _8 w7 K' O4 {5 Q" B5 V
{
) @$ d* _1 j0 @ if(s<array[array.length-1].time){& h7 f. ?$ |- b: V6 c* G
currIndex = 0;
( C. U1 y9 l& x1 M- v $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;1 @, k+ n9 _$ ]+ Q- K
for(var i=0;i<array.length;i++){
% ]! C5 X" H% v) i/ G document.getElementById("lrc"+i).style.color=colorNormal;# {3 {' { _+ Q( N: \2 ~* V
}, | K1 l r* K4 @- L$ }
lrcList();% c9 N6 f& t6 t- L! v6 r/ }
}% H3 d7 I. @- {2 f2 ?: m
}
; y! L- T* ^+ R& R* {! u}. f+ h9 ?/ x, g) `
</SCRIPT>
; ` @8 D/ Q! E- z3 q</DIV></DIV>. f j! T3 t7 M$ d
7 Z7 z* k8 H: ^[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|